<!DOCTYPE html>
<html><head>
	    <meta charset="utf-8">
    <title>童老师ThinkPHP交流群：484519446</title>

    <meta name="description" content="Dashboard">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!--Basic Styles-->
    <link href="__ADMIN__/style/bootstrap.css" rel="stylesheet">
    <link href="__ADMIN__/style/font-awesome.css" rel="stylesheet">
    <link href="__ADMIN__/style/weather-icons.css" rel="stylesheet">

    <!--Beyond styles-->
    <link id="beyond-link" href="__ADMIN__/style/beyond.css" rel="stylesheet" type="text/css">
    <link href="__ADMIN__/style/demo.css" rel="stylesheet">
    <link href="__ADMIN__/style/typicons.css" rel="stylesheet">
    <link href="__ADMIN__/style/animate.css" rel="stylesheet">
  <script src="__ADMIN__/ueditor/ueditor.config.js"></script>
  <script src="__ADMIN__/ueditor/ueditor.all.min.js"></script>
  <script src="__ADMIN__/ueditor/lang/zh-cn.js"></script>

</head>
<body>
	<!-- 头部 -->
	{include file="public/header" /}
	<!-- /头部 -->
	
	<div class="main-container container-fluid">
		<div class="page-container">
            <!-- Page Sidebar -->
            {include file="public/left" /}
            <!-- /Page Sidebar -->
            <!-- Page Content -->
            <div class="page-content">
                <!-- Page Breadcrumb -->
                <div class="page-breadcrumbs">
                    <ul class="breadcrumb">
                                        <li>
                        <a href="#">系统</a>
                    </li>
                                        <li>
                        <a href="{:url('lst')}">配置项管理</a>
                    </li>
                                        <li class="active">修改配置项</li>
                                        </ul>
                </div>
                <!-- /Page Breadcrumb -->

                <!-- Page Body -->
                <div class="page-body">
                    
<div class="row">
    <div class="col-lg-12 col-sm-12 col-xs-12">
        <div class="widget">
            <div class="widget-header bordered-bottom bordered-blue">
                <span class="widget-caption">新增配置项</span>
            </div>
            <div class="widget-body">
                <div id="horizontal-form">
                    <form class="form-horizontal" role="form" action="{:url('Conf/edit')}" method="post" >
                      <input type="hidden" name="id" value="{$confs.id}">
                        <div class="form-group">
                            <label for="cnname" class="col-sm-2 control-label no-padding-right">中文名称</label>
                            <div class="col-sm-6">
                                <input class="form-control" id="cnname" placeholder="" name="cnname"  value="{$confs.cnname}" type="text">
                            </div>
                            <p class="help-block col-sm-4 red">* 必填</p>
                        </div>

                      <div class="form-group">
                        <label for="enname" class="col-sm-2 control-label no-padding-right">英文名称</label>
                        <div class="col-sm-6">
                          <input class="form-control" id="enname" placeholder="" name="enname"  value="{$confs.enname}" type="text">
                        </div>
                        <p class="help-block col-sm-4 red">* 必填</p>
                      </div>

                      <div class="form-group">
                        <label for="type" class="col-sm-2 control-label no-padding-right">配置类型</label>
                        <div class="col-sm-6">
                          <!--配置类型 1:单行文本框  2:文本域  3: 单选按钮 4:复选按钮 5: 下拉菜单-->
                          <select name="type" id="type" >
                                <option value="0">请选择</option>
                                <option value="1" {if condition="$confs.type eq 1"} selected="selected" {/if} >单行文本框</option>
                                <option value="2" {if condition="$confs.type eq 2 "} selected="selected" {/if} >文本域</option>
                                <option value="3" {if condition="$confs.type eq 3 "} selected="selected" {/if} >单选按钮</option>
                                <option value="4" {if condition="$confs.type eq 4"} selected="selected" {/if} >复选按钮</option>
                                <option value="5" {if condition="$confs.type eq 5" } selected="selected" {/if} >下拉菜单</option>
                          </select>
                        </div>
                        <p class="help-block col-sm-4 red">* 必填</p>
                      </div>

                      <div class="form-group">
                        <label for="values" class="col-sm-2 control-label no-padding-right">可选值</label>
                        <div class="col-sm-6">
                          <input class="form-control" id="values" placeholder="" name="values"  value="{$confs.values}" type="text">
                        </div>
                        <p class="help-block col-sm-4 red">* 必填</p>
                      </div>
                      
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-default">保存信息</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

                </div>
                <!-- /Page Body -->
            </div>
            <!-- /Page Content -->
		</div>	
	</div>

	    <!--Basic Scripts-->
    <script src="__ADMIN__/style/jquery_002.js"></script>
    <script src="__ADMIN__/style/bootstrap.js"></script>
    <script src="__ADMIN__/style/jquery.js"></script>
    <!--Beyond Scripts-->
    <script src="__ADMIN__/style/beyond.js"></script>
  <script type="text/javascript">
      UE.getEditor('content',{initialFrameWidth:685,initialFrameHeight:400});
  </script>


</body></html>